package com.ikas.ai.server.module.machine.model.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 机组实时数据表
 *
 * @author hu.bowei
 * @email hu.bowei@ikasinfo.com
 * @date 2023-05-15 14:56:57
 */
@Data
@TableName("t_machine_info")
public class MachineInfo implements Serializable {
    private static final long serialVersionUID = 1L;


    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 机组编号
     */
    private String machineNo;

    /**
     * 机组名称
     */
    @TableField(exist = false)
    private String machineName;

    /**
     * 当前工况，比如:P
     */
    private String currWc;

    /**
     * 当前流程，BT26
     */
    private String currWf;

    /**
     * 当前步骤
     */
    private String currStep;

    /**
     * 工况流程启始时间
     */
    private Long startTime;

    /**
     * 工况流程行时长，单位毫秒ms
     */
    @TableField(exist = false)
    private Long costTime;

    /**
     * 描述
     */
    @TableField("`desc`")
    private String desc;

    /**
     * 创建人id
     */
    private Long creator;

    private Date createTime;

    private Date updateTime;
}
